import { createApp } from 'vue'
import { createPinia } from 'pinia'
import 'amfe-flexible'
import '@/utils/rem.js'   
import App from './App.vue'
import router from './router'
import 'vant/lib/index.css'
import Vant from 'vant'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
const app = createApp(App)

const pinia = createPinia()
app.use(pinia.use(piniaPluginPersistedstate))
// app.use(createPinia())
app.use(router)
app.use(Vant)
app.mount('#app')
